package com.byq.mm.common.engine.listener;



import com.byq.mm.common.engine.Environment;


import org.jivesoftware.smack.ConnectionListener;
import org.jivesoftware.smack.roster.RosterListener;

public class ListenerManager {
	Environment env;

	public ListenerManager(Environment env) {
		super();
		this.env = env;
		
		connectionListener = new SmartConnectionListener(env);
		messageListener = new MessageListener(env);
		rosterListener = new SmartRosterListener(env);
		presenceListener = new PresenceListener(env);
	}
	ConnectionListener connectionListener;
	PresenceListener presenceListener;
	MessageListener messageListener;
	RosterListener rosterListener;

	public ConnectionListener getConnectionListener() {
		return connectionListener;
	}
	public PresenceListener getPresenceListener() {
		return presenceListener;
	}
	public MessageListener getMessageListener() {
		return messageListener;
	}
	public RosterListener getRosterListener() {
		return rosterListener;
	}
	
	
}
